package com.xyz.xservice.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class Globals {

    public static final String version = "1.0";

    public static final String musicName = "由%s创作的原声" ;

    /**
     * 插入广告明细的MQ
     */
    public static final String sspAdMQ = "sspAd.queue.data";

    /**
     *  验证码短信
     */
    @Value("${sms.verifycode.value:验证码}")
    public String verifycodevalue;

    /**
     * 忘记命名key前缀
     */
    public static final String verifycodeByPwd = "verifycodeByPwd";

    public enum TicketTopic{
        TOPIC_CONFIG;
        public String toString(){
            return super.toString().toLowerCase() ;
        }
    }
}
